import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const oneMap: AppRouteModule = {
  path: '/oneMap',
  name: 'OneMapPage',
  component: LAYOUT,
  redirect: '/oneMap/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'ant-design:home-outlined',
    title: '综合展示',
    orderNo: 10,
  },
  children: [
    {
      path: 'index',
      name: 'oneMapPage',
      component: () => import('@/views/oneMap/index.vue'),
      meta: {
        title: '综合展示',
        hideMenu: true,
      },
    },
  ],
};

export default oneMap;
